/*
 * ItemBOImpl.java
 *
 * Created on July 6, 2007, 8:52 PM
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package com.abbh.libcommunity.bo.impl;


import com.abbh.libcommunity.bo.ItemBO;
import com.abbh.libcommunity.dao.impl.ItemDAOImpl;
import com.abbh.libcommunity.model.Item;


/**
 *
 * @author PAUL
 */

public class ItemBOImpl implements ItemBO {
   
    public void saveItem(Item item){
        ItemDAOImpl x = new ItemDAOImpl();
        x.save(item);
        
    }
   public void sellItem(Item item){
       
        ItemDAOImpl x = new ItemDAOImpl();
        x.sellItem(item);
        
    }
   public Item findByItemId(Integer itemId)
   {
       ItemDAOImpl itemobject=new ItemDAOImpl();
        return itemobject.findByItemId(itemId);
       
   }
    
}
